package com.sky.service.user.impl;

import com.sky.mapper.user.UserSetmealMapper;
import com.sky.pojo.Setmeal;
import com.sky.service.user.UserSetmealService;
import com.sky.vo.DishItemVO;
import com.sky.vo.DishVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserSetmealServiceImpl implements UserSetmealService {
    @Autowired
    private UserSetmealMapper userSetmealMapper;

    @Override
    public List<Setmeal> list(Setmeal setmeal) {
        return userSetmealMapper.list(setmeal);
    }

    @Override
    public List<DishItemVO> query(Integer setmealId) {
        return userSetmealMapper.query(setmealId);
    }
}
